package nl.hengelsportmolenberg.boilies.client.view;

import nl.hengelsportmolenberg.boilies.client.presenter.TestPresenter;

import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.TextBox;
import com.google.gwt.user.client.ui.Widget;

public class TestView extends Composite implements TestPresenter.Display {
	private TextBox textBox;
	
	public TestView() {
		textBox = new TextBox();
		initWidget(textBox);
	}
	
	public void setData(String s) {
		textBox.setValue(s);		
	}
	 
	public Widget asWidget() {
		return this;
	}
}
